<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Paint
 * @copyright  Copyright 2006-2010 Idragonsoultion Developments
 * @license    http://idragonsolution.com/
 * @version    $Id: manifest.php 9932 2013-02-18 21:28:18Z Thien $
 * @author     Thien
 */
return array(
  // Package -------------------------------------------------------------------
  'package' => array(
    'type' => 'module',
    'name' => 'paint',
    'version' => '4.3.0',
    'revision' => '$Revision: 9932 $',
    'path' => 'application/modules/Paint',
    'title' => 'Paint',
    'description' => 'Paint',
    'author' => 'iDragon Solution Co., Ltd',
    'changeLog' => 'settings/changelog.php',
    
    'actions' => array(
       'install',
       'upgrade',
       'refresh',
       //'enable',
       //'disable',
     ),
    'callback' => array(
       'path' => 'application/modules/Paint/settings/install.php',
       'class' => 'Paint_Installer',
    ),
    'directories' => array(
      'application/modules/Paint',
    ),
    'files' => array(
      'application/languages/en/paint.csv',
    ),
  ),
  // Compose ---------------------------------------------------------------------
  'composer' => array(
    'paint' => array(
      'script' => array('_composePaint.tpl', 'paint'),
      'plugin' => 'Paint_Plugin_Composer',
    ),
  ),
  // Items ---------------------------------------------------------------------
  'items' => array(
    'paint',
    
  ),
  // Routes --------------------------------------------------------------------
  'routes' => array(
    'paint_general' => array(
      'route' => 'paints/:action/*',
      'defaults' => array(
        'module' => 'paint',
        'controller' => 'index',
        'action'     => 'browse',   
      )
    ),
  
   'paint_view' => array(
      'route' => 'paints/:user_id/:paint_id/:slug/*',
      'defaults' => array(
        'module' => 'paint',
        'controller' => 'index',
        'action' => 'view',
        'slug' => '',
      ),
      'reqs' => array(
        'user_id' => '\d+'
      )
    ),
   )
) ?>